package com.fitns.user.model.enums;

import com.baomidou.mybatisplus.enums.IEnum;
import lombok.Getter;

import java.io.Serializable;

@Getter
public enum DataPermissionType implements IEnum {

	// @formatter:off
	ROLE("role", 1),
	ADMIN("admin", 2);
	// @formatter:on
	private DataPermissionType(String name, int value) {
		this.name = name;
		this.value = value;
	}

	private String name;
	private Serializable value;

}
